home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
select.zip
/
SAMPLE.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-01-23
|
686b
|
35 lines
REM This batch file will keep asking you to select a set of
REM programs and running them until you opt to exit to DOS
:MENU
ECHO YOU MAY CHOOSE ONE OF THE FOLLOWING PROGRAMS TO RUN:
ECHO f) F-19 flight simulator
ECHO s) Scrabble
ECHO t) Tetris
ECHO w) Microsoft works
ECHO e) Exit and return to DOS
select fstw
IF ERRORLEVEL 23 GOTO WORK
IF ERRORLEVEL 20 GOTO TET
IF ERRORLEVEL 19 GOTO SCRAB
IF ERRORLEVEL 6 GOTO FSIM
IF ERRORLEVEL 5 GOTO EXIT
REM THE ERRORLEVEL STATEMENTS MUST BE IN DESCENDING ORDER!
:WORK
CD \WORKS
WORKS
GOTO MENU
:TET
CD \TETRIS
TETRIS
GOTO MENU
:SCRAB
CD \SCRABBLE
SCRABBLE
GOTO MENU
:FSIM
CD \F19
F19
GOTO MENU
:EXIT